package edu.suda.xsap.service;

import edu.suda.xsap.dto.CourseDto;
import edu.suda.xsap.dto.EmployeeDto;
import edu.suda.xsap.entity.Course;
import edu.suda.xsap.entity.ReservationSet;
import edu.suda.xsap.entity.vo.ClassRecordVo;
import edu.suda.xsap.entity.vo.ReservationVo;

import java.util.List;

public interface CourseService {
    void save(Course course);
    void delete(Integer id);
    void update(Course course);
    CourseDto findById(Integer id);
    CourseDto findByName(String name);
    List<CourseDto> findAll();
    List<ReservationVo> find(Integer id);
    List<ClassRecordVo> findClassRecord(Integer id);

    void saveReservation(ReservationSet reservation);


    Integer findCount();

    List<CourseDto> findByLimit(int i, int i1);


}
